package es.albarregas.beans;

import java.io.Serializable;
import java.util.Collection;

import es.albarregas.modelo.ModelFacade;

import es.albarregas.pojo.Iva;

public class ListaIvaBean implements Serializable {

	
	private static final long serialVersionUID = 1L;
	private String clausulaWhere = new String();

	public ListaIvaBean(){
		super();
	}	
	public String getClausulaWhere() {
		return clausulaWhere;
	}
	public void setClausulaWhere(String clausulaWhere) {
		this.clausulaWhere = clausulaWhere;
	}
	public Collection<Iva> getIva(){
		System.out.println("Clausula en Lista Iva " + clausulaWhere);
		Collection<Iva> coleccion = ModelFacade.getIva(clausulaWhere);
		return coleccion;
	}
	
	
}
